package com.pig4cloud.pigx.contract.dto;

import com.pig4cloud.pigx.contract.enums.ContractOrderEnum;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 全仓自动追加保证金DTO
 *
 * @since 2022/9/16 14:53
 */
@Data
public class ContractPositionMarginAppendDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 初始保证金
	 */
	private BigDecimal initialMargin;
	/**
	 * 仓位id
	 */
	private Long positionId;
	/**
	 * {@link ContractOrderEnum.OperationType}
	 */
	private String operationType;
}
